package com.hxy.pet.service;


import com.hxy.basic.service.IBaseService;
import com.hxy.pet.domain.Pet;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IPetService extends IBaseService<Pet> {
    /**
     * 上架
     */
    void onSale(List<Long> ids);
    /**
     * 下架
     */
    void offSale(List<Long> ids);
    /**
     * 领养宠物
     */
    void adopt(Long id, HttpServletRequest request);
    /**
     * 判断是否是平台管理员
     *
     */
    void isShopAdmin(HttpServletRequest request);
}
